/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.ADPViolation.Impl.OneViolation;

import za.ac.cput.zaahir.assignment2.ADPViolation.Impl.TwoViolation.TwoV;

/**
 *
 * @author Zaahir
 */



/**
 *
 * @author Zaahir
 */
public class OneV {
    private TwoV two; 
    public void methodTwo(){
        if(two != null){
            two.methodTwo();
        }
    }
    public void methodOne(){
        System.out.println("Method One");
    }
}

